blob: 28e59e3cd04b8e2f48e28aeb3e1d4fa32de2c6e1 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}..";
if [ "${#}" -eq 1 ]\
&& [ "x${1}" = "x--version" ]; then
"${PREFIX}/bin/pkgconf" --version;
else
"${PREFIX}/bin/pkgconf" --define-variable=prefix="${PREFIX%/}/native/" --keep-system-cflags "${@}";
fi;
|